<template>
	<view>
		<view class="webh5">
			
			 <web-view :src="targetUrl"></web-view>
		</view>
	
	</view>
</template>

<script>

	export default {
	
		data() {
			return {
				targetUrl:'https://saas.pocket-dev.cn/chinapaycallback/?amount=1&formtype=gd8d&useropenid=oRZZ95Af3yJpAXOLeFLYZj-X3jd0'
			};
		},
		onLoad(options) {
			 let data = uni.getStorageSync('userInfo')
			 
			 
			 let userinfo = {
				 '用户姓名':data.pdTenants.wxNickName,
				 '手机号码':data.pdTenants.wxPhoneNumber,
				 
			 }
			this.targetUrl = "https://saas.pocket-dev.cn/chinapaycallback/?amount="+options.data
			// this.targetUrl = "https://saas.pocket-dev.cn/chinapaycallback/?userinfo="+encodeURIComponent(JSON.stringify(userinfo))+"&amount="+options.data
			
			console.log(this.targetUrl,'支付地址')
			
			      
		},
		onShow() {
			
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
.webh5{
	width: 100%;
	height: 300rpx;
}
.back{
	width: 100%;
	height: 300rpx;
}
</style>
